import Vue from 'vue'
import App from './App.vue'
import { Db } from './core/db';
import router from './router';

import './assets/iconfont/iconfont';

Vue.config.productionTip = false

Vue.prototype.$global = {
  db: new Db()
};

window["$global"] = Vue.prototype.$global;

new Vue({
  render: h => h(App),
  router
}).$mount('#app')
